<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>login</title>
</head>

<body>
    <%- include("head",{name:"登录页面"}) %>
        <h2>登录</h2>

        <form action="/users/login" method="POST">
            <div>
                <label for="username">用户名:</label>
                <input type="text" value="<%- username %>" placeholder="请输入用户名" id="username" name="username" required>
            </div>
            <div>
                <label for="password">密码:</label>
                <input type="password" placeholder="请输入密码" id="password" name="pass" required>
            </div>
            <div>
                <button type="submit ">登录</button>
                <button type="reset ">重置</button>
            </div>
        </form>
        <%- include foot %>
</body>

</html>